  package com.lqian.demo02.part5.pojo;


  import java.util.Date;

  public class User {

    private Long id;
    private String name;
    private String password;
    private String email;
    private Date birthday;

    public User(Long id, String name, String password, String email, Date birthday) {
      this.id = id;
      this.name = name;
      this.password = password;
      this.email = email;
      this.birthday = birthday;
    }
    public User( String name, String password, String email, Date birthday) {
      this.name = name;
      this.password = password;
      this.email = email;
      this.birthday = birthday;
    }


    public long getId() {
      return id;
    }

    public void setId(long id) {
      this.id = id;
    }


    public String getName() {
      return name;
    }

    public void setName(String name) {
      this.name = name;
    }


    public String getPassword() {
      return password;
    }

    public void setPassword(String password) {
      this.password = password;
    }


    public String getEmail() {
      return email;
    }

    public void setEmail(String email) {
      this.email = email;
    }


    public Date getBirthday() {
      return birthday;
    }

    public void setBirthday(Date birthday) {
      this.birthday = birthday;
    }

    @Override
    public String toString() {
      return "User{" +
              "id=" + id +
              ", name='" + name + '\'' +
              ", password='" + password + '\'' +
              ", email='" + email + '\'' +
              ", birthday=" + birthday +
              '}';
    }
  }
